@charset "UTF-8";
@import url('displaFlex');





@safeWidth:1100px;        //安全宽度

@safeMainColor:#01cbe9;       //主题颜色
@safeMinorColor:#ff6f6e;       //主题颜色

@borderColor:#dcdcdc;     //边框颜色
@25mainWordColor:#252525;   //文字主体颜色
@4aviceWordColor:#4a4a4a;   //文字副级颜色
@99minorWordColor:#999999;  //文字次要颜色


.w_h(@w_h){
  width: @w_h ;
  height: @w_h ;
}

//文字溢出
//多行
.wordSpaceClamp(@number){
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp:@number;
  overflow: hidden;
}
//单行
.wordSpaceClamp{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}



.condition{
  .displayFlex;
  .flex-direction-column;
  //height: 140px;
  width: 1100px;
  margin: 30px auto;
  cursor: pointer;
  h4{
    font-size: 18px;
    color: @25mainWordColor;
    font-weight: normal;

    width: 40px;
    padding-right: 30px;
  }
  ul{
    .displayFlex;
    .flex-direction-row;
    .flex-wrap;
    li{
      font-size: 14px;
      color: @4aviceWordColor;
      .displayFlex;
      .flex-direction-row;
      .flex-justify-align;
      height: 24px;

      padding: 3px 5px;
      border:1px solid @borderColor;
      border-radius: 4px;
      margin-right: 18px;

    }
  }
  p{
    font-size: 14px;
    color: @4aviceWordColor;
    .displayFlex;
    .flex-direction-row;
    .flex-justify-align;
    height: 24px;

    padding: 3px 5px;
    border:1px solid @borderColor;
    border-radius: 4px;
    margin-right: 20px;

  }
  .Liclick{
    background-color: @safeMainColor;
    border:1px solid @safeMainColor;

    color: #ffffff;

  }
  .limit{
    width: 100%;
   // margin-bottom: 30px;
    .displayFlex;
    .flex-direction-row;
    .flex-align-items;
    min-height: 30px;
  }
  .type{
    height: 70px;
    width: 100%;
    //margin-bottom: 30px;
    .displayFlex;
    .flex-direction-row;
    .flex-align-items;
    min-height: 30px;


  }
  .rank{
    .displayFlex;
    .flex-direction-row;
    .flex-align-items;

    min-height: 30px;

  }


}

main{
  width: @safeWidth;
  margin: 0 auto;
 .displayFlex;
  .flex-direction-row;

  .product{
    .displayFlex;
    .flex-direction-column;
    width: 758px;
    border:1px solid @borderColor;
    border-radius: 6px;
    .topInfo{
      .displayFlex;
      .flex-direction-row;
      .flex-align-items;
      width: 100%;
      border-bottom: 1px solid @borderColor;
      height: 40px;
      span{
        font-size: 16px;
        color: @99minorWordColor;
      }
      :nth-child(1){
        margin-left: 120px;
      }
      :nth-child(2){margin-left: 106px}
      :nth-child(3){margin-left: 50px}
    }

    .productList{

      .productItem{
        .displayFlex;
        .flex-direction-row;
        .flex-align-items;
        border-bottom: 1px solid @borderColor;
        width: 720px;
        margin: 0 auto;
        padding:30px 0;
        img{
          .w_h(80px);
          margin-right: 20px;
        }
        .productInfoText{
          .displayFlex;
          .flex-direction-column;
          h4{
            font-size: 20px;
            color:@25mainWordColor;
            font-weight: normal;
          }
          .text{
            .displayFlex;
            .flex-direction-row;
            .productInfo{
              .displayFlex;
              .flex-direction-column;
              width: 140px;

              span{
                font-size: 14px;
                color: @99minorWordColor;
              }
            }
            .limitRate{
              .displayFlex;
              .flex-direction-column;
              width: 159px;
              span{
                font-size: 14px;
                color: @safeMinorColor;

              }
            }
            .LoanCondition{
              .wordSpaceClamp(3);
              width: 220px;
              padding-right: 25px;
              font-size: 14px;
              color: @99minorWordColor;

            }

          }
        }
        .clickBtnList{
          .displayFlex;
          .flex-direction-column;
          a{
            font-size:14px;
            line-height: 24px;
            text-align: center;
            color: #ffffff;
            width: 80px;
            height: 24px;
            border-radius: 4px;
            margin-top: 6px;
          }
          :nth-child(1){
            background-color: @safeMainColor;

          }
          :nth-child(2){
            background-color: @safeMinorColor;
          }
        }


      }

    }






  }

  .rightBox{

    .displayFlex;
    .flex-direction-column;
    .rightNewProduct{
      width: 290px;
      height: 715px;
      margin-left: 30px;
      border: 1px solid @borderColor;
      border-radius: 6px;
      padding: 0 10px;
      .toNewLoans{
        display: block;
        height: 50px;
        width: 100%;
        font-size: 24px;
        line-height: 50px;
        text-align: left;
        background: white url("../publicImg/jiantou-you-lan@2x.png") no-repeat right;
        background-size: 10px 17px;
        border-bottom: 1px solid #eeeeee;
        color: @25mainWordColor;
        margin-bottom: 37px;

      }

      .NewLoansProductList{

        .loansItem{
          .displayFlex;
          .flex-align-items;
          .flex-direction-row;
          margin-bottom: 30px;
          .loansLogo{
            display: block;

            .w_h(72px);
            border-radius: 6px;


          }
          .loanInfo{
            .displayFlex;
            .flex-align-items;
            .flex-direction-row;
            .flex-justify-between;
            width: 210px;
            margin-left: 10px;

            .loanInfoLeft{
              h3{
                font-size: 18px;
                color: @25mainWordColor;
                line-height: 35px;
                font-weight: normal;
              }
              p{
                font-size: 14px;
                color: @4aviceWordColor;
                i{
                  color: @safeMinorColor;
                }
              }
            }
            .loanInfoRight{
              p{
                font-size: 16px;
                color: @99minorWordColor;
                margin-bottom: 15px;
              }
              a{
                display: block;
                width:58px ;
                height: 36px;
                color: white;
                background-color: @safeMinorColor;
                text-align: center;
                line-height: 36px;
                border-radius: 6px;
                margin-top: 36px;
                font-size: 18px;
              }
            }




          }

        }
      }

    }
  }


}

.pageBox{
  margin: 0 auto;
  width: @safeWidth;
}






